<?php

class NavigationView {
	
	/**
	 * URL string for when user wants to logout.
	 * @var String
	 */
	private static $logoutURL = "logout";
	
	/**
	 * URL string for when user wants to login.
	 * @var String
	 */
	private static $loginURL = "login";
	
	/**
	 * @return boolean
	 */
	public function userWantsToLogIn() {
		return isset($_GET[self::$loginURL]);
	}
	
	/**
	 * @return boolean
	 */
	public function userWantsToLogout() {
		return isset($_GET[self::$logoutURL]);
	}
	
	/**
	 * @return string
	 */
	public function getLoginURL() {
		return self::$loginURL;
	}
	
	/**
	 * @return string
	 */
	public function getLogoutURL() {
		return self::$logoutURL;
	}
}
